# $Id: PKGBUILD 65894 2012-02-22 13:27:22Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-net-jabber
pkgver=2.0
pkgrel=5
pkgdesc="Perl/CPAN Module Net::Jabber : Access to the Jabber protocol"
arch=("any")
url="http://search.cpan.org/dist/Net-Jabber"
license=("GPL" "PerlArtistic")
makedepends=("perl-net-xmpp")
depends=("perl-net-xmpp")
source=("http://www.cpan.org/authors/id/R/RE/REATMON/Net-Jabber-2.0.tar.gz")
md5sums=('1fd348fb9a1a6c5a167ae862ed89cd53')

build() {
  cd $srcdir/Net-Jabber-2.0
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
